Skip to main content
Version: 3.0

Return Public Key

This returns the public of the Aventus account connected to the SURI being used.

// Returns the address associated with the SURI interacting with the API.
avnSdk.myPublicKey();
All API utils also work in offline mode.

Also, seed and mnemonic are not stored and cannot be returned.

Example Output

0x6e0b67f4590ac2b4e9daa9f229cc4a0c77b3109e8a622e5a1128518ad76e736b